Applying live hack: some mirrors strip the comment; include a hidden span with the...
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 2 Apr 2006 03:34:56 +0000 (03:34 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 2 Apr 2006 03:34:56 +0000 (03:34 +0000)
includes/SpecialVersion.php

index 6f9fc27..d6539c9 100644 (file)
@@ -186,7 +186,8 @@ class SpecialVersion {
         */
        function IPInfo() {
                $ip =  str_replace( '--', ' - ', htmlspecialchars( wfGetIP() ) );
-               return "<!-- visited from $ip -->\n";
+               return "<!-- visited from $ip -->\n" .
+                       "<span style='display:none'>visited from $ip</span>";
        }
 
        /**